<template>
<!-- tabbar标签页 -->
    <div class="box">    
        <router-view />
        
        <van-tabbar route>
            <van-tabbar-item replace to="/home/index" icon="home-o">全部</van-tabbar-item>
            <van-tabbar-item replace to="/home/edit" icon="search">分类</van-tabbar-item>
            <van-tabbar-item replace to="/home/shop" icon="friends-o">购物车</van-tabbar-item>
            <van-tabbar-item replace to="/home/my" icon="setting-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.box {
    width: 100%;
    height: 100%;
}
</style>